@charset "UTF-8";
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background-color: #eeefef;
}

.container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  width: 600px;
  height: 500px;
}

.container .icon {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-direction: column;
  width: 100px;
  height: 120px;
  margin: 20px;
  cursor: pointer;
}

.box {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100px;
  height: 100px;
  border-radius: 24px;
  box-shadow: 18px 18px 30px rgba(0,0,0,.2);
  transition: all .2s ease-out;
}

.box:hover {
  box-shadow:
    0 0 0 rgba(0, 0, 0, .2),
    0 0 0 rgba(255, 255, 255, .8),
    inset 18px 18px 30px rgba(0, 0 , 0, .1),
    inset -18px -18px 30px rgba(255, 255, 255, 1)
}

ion-icon {
  font-size: 48px;
  transition: all .2s ease-in-out;
}

.box:hover ion-icon {
  font-size: 64px;
}

.icon p {
  margin: .5rem 0;
  color: slategray;
}

